<?

/*
 * Copyright (c) 2010 DC Team
 */

if (!defined('DC')) {
	die('It\'s allowed!');
}

error_reporting(E_ALL);

date_default_timezone_set('Asia/Shanghai');

session_start();

@header("Content-Type: text/html;charset=UTF-8");

define('ROOT', dirname(__FILE__).DIRECTORY_SEPARATOR);

if (!isset($_COOKIE['username'])) {
	echo "<script>alert('请先登陆!');window.location.href='index.php';</script>";
}

//文件加载
include_once(ROOT.'include/data.conf.php');
include_once(ROOT.'include/mmc.conf.php');
include_once(ROOT.'include/globalFun.php');

?>